@for $size from 20 through 160 {
  @if $size%2==0 {
    .img-#{$size} {
      width: #{$size}px;
      height: #{$size}px;
    }
  }
}